package cn.wolfcode.wolf2w.repository;


import cn.wolfcode.wolf2w.domain.Banner;
import cn.wolfcode.wolf2w.domain.Travel;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
* 游记持久层接口
*/
public interface TravelRepository extends MongoRepository<Travel, String>{

    /**
     *
     * @param destName
     * @return
     */
    List<Travel> findByDestName(String destName);
}
